<?php

class commentModel extends viewModel {

    public $view = array(
        'user' => array(
            'type' => "inner",
            "field" => 'username',
            "on" => "comment.userid=user.userid",
        ),
        'arc' => array(
            'type' => "inner",
            "field" => 'title',
            "on" => "comment.aid=arc.aid",
        ),
    );

}

?>
